package com.ruoyi.wcf.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品适配对象 wcf_fitter
 * 
 * @author WZP
 * @date 2022-04-02
 */
public class WcfFitter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 适配id */
    @Excel(name = "适配id")
    private Long fitterId;

    /** 手机型号id */
    @Excel(name = "手机型号id")
    private Long phoneId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 删除标记（0-正常，1-删除） */
    @Excel(name = "删除标记", readConverterExp = "0=-正常，1-删除")
    private Integer delFlag;

    public void setFitterId(Long fitterId) 
    {
        this.fitterId = fitterId;
    }

    public Long getFitterId() 
    {
        return fitterId;
    }
    public void setPhoneId(Long phoneId) 
    {
        this.phoneId = phoneId;
    }

    public Long getPhoneId() 
    {
        return phoneId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fitterId", getFitterId())
            .append("phoneId", getPhoneId())
            .append("productId", getProductId())
            .append("createBy", getCreateBy())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
